DATA TYPES: In this interactive activity, you'll review Python's different data types!

A string is any text in quotes, including letters, numbers, and symbols. For example "123" or "Hello!"

There are 2 types of numbers, integers (whole numbers) and floats (any fractional or decimal number).

Different commands require different data types as arguments in order to run!

  • Click Run to see the animation. Follow the instructions on the stage to complete the activity.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)